Feature: Delete published post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 27.758s |
Scenario: Delete a published post successfully
Before
0m 1.920s
Given
I navigate to page "http://localhost:2368/ghost/"
0m 1.282s
And
I enter email "<ADMIN_EMAIL>"
0m 0.487s
And
I enter password "<ADMIN_PASSWORD>"
0m 0.425s
And
I click on the login button
0m 0.757s
And
I wait for 2 seconds
0m 2.295s
When
I click on the new post button
0m 0.509s
And
I wait for 2 seconds
0m 2.262s
And
I write "Mi nuevo post para eliminar" in the post title
0m 0.641s
And
I publish the new post
0m 1.119s
And
I wait for 2 seconds
0m 2.271s
And
I return to the posts list
0m 0.610s
And
I wait for 2 seconds
0m 2.271s
And
I filter posts by status Published
0m 0.542s
And
I wait for 1 seconds
0m 1.296s
And
I click in the first post in the list
0m 0.423s
And
I wait for 2 seconds
0m 2.279s
And
I open the post settings
0m 0.471s
And
I delete the post
0m 0.618s
And
I wait for 2 seconds
0m 2.292s
And
I filter posts by status Published
0m 0.387s
And
I wait for 2 seconds
0m 2.300s
Then
I see that there is no post with the title "Mi nuevo post para eliminar" in the post list
0m 0.285s
After
0m 0.016s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/"
And
I enter email "<ADMIN_EMAIL>"
And
I enter password "<ADMIN_PASSWORD>"
And
I click on the login button
And
I wait for 2 seconds
When
I click on the new post button
And
I wait for 2 seconds
And
I write "Mi nuevo post para eliminar" in the post title
And
I publish the new post
And
I wait for 2 seconds
And
I return to the posts list
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 1 seconds
And
I click in the first post in the list
And
I wait for 2 seconds
And
I open the post settings
And
I delete the post
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 2 seconds
Then
I see that there is no post with the title "Mi nuevo post para eliminar" in the post list
After
NO IMAGE AVAILABLE